package org.su.generalmvc.entity;

import org.su.generalmvc.IEditor;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

/**
 * 简单对象缓存，用户复合参数类对象保存. 将pojo的写方法预存，方便参数快速注入。
 * 
 * @author yangchuan
 * 
 */
public class PojoCache {

	private List<String> methodNames = new ArrayList<String>();
	private List<IEditor> editors = new ArrayList<IEditor>();
	private List<Method> methods = new ArrayList<Method>();
	private List<Method> readMethods = new ArrayList<Method>();

	public List<String> getMethodNames() {
		return methodNames;
	}

	public List<IEditor> getEditors() {
		return editors;
	}

	public List<Method> getMethods() {
		return methods;
	}

	public List<Method> getReadMethods() {
		return readMethods;
	}
}
